This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class MacSCSIFindDevice | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
Gives information about connected SCSI devices. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
As there is a timeout which is per default 200, you should use the SCSIAvailable check like in the example project. Inside classic box this class behaves as inside Carbon directly. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AsyncSCSIPresent as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Sa, 27. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
whether Async SCSI calls can be used. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bus as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The number of the current bus. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
If there is only one bus, you get 0. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DeviceType as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The type code for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
The code is divided into two parts. The lower bit's which you can get using an operation like n=bitwiseand(devicetype,&H1F) are:
Than you have a modifier which you get by n=bitwiseand(devicetype,&E0):
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FirstDevice as boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
Searches for the first device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
As there is a timeout which is per default 200, you should use the SCSIAvailable check like in the example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Flags as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The flags for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ID as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The ID of the current device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lasterror as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The last error code. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Could be one of the SCSI manager errors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LUN as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The logical unit number of the current device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
There can be multiple devices with the same ID but different LUNs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NextDevice as boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
Searches for the next device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
As there is a timeout which is per default 200, you should use the SCSIAvailable check like in the example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Product as string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The product string for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Maximum 16 characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Revision as string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The revision string of the current device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Maximum 4 characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Timeout as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
Timeout for both functions to return after this count of ticks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example:
See example project. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Default is 200 ticks, which is equal to 3.3 seconds. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Vendor as string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The vendor string for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Maximum 8 characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VendorSpecific as string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The vendor specific string for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
Maximum 20 characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Version as integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
property, SCSI devices | Mo, 15. Jul 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mac OS Classic: Works. | Mac OS Carbon: does nothing. | Windows: does nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function:
The version for this device. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes:
ISO/ECMA/ANSI version |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.